package com.collect.zambia.zhiAdater.zhiLevelDetail;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.zambia.R;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRGroupPerformanceMoneyEntity;

public class ZHILevelDetailMergeAmount extends BaseQuickAdapter<ZHIRGroupPerformanceMoneyEntity, BaseViewHolder> {

    public ZHILevelDetailMergeAmount() {
        super(R.layout.item_level_detail_merge_amount_list, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRGroupPerformanceMoneyEntity item) {
        helper.setText(R.id.tv_detail_case_date, item.getStartDate() + "-" + item.getEndDate());
        helper.setText(R.id.tv_detail_case_name, item.getLoginName());
        helper.setText(R.id.tv_detail_case_level, item.getLevenDisplayFormat());
        helper.setText(R.id.tv_detail_collected_amount, item.getRepayAmountFormat());
    }
}
